home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-02 / eco30603.zip / INSTALL2.BAT < prev    next >
DOS Batch File  |  1993-04-09  |  8KB  |  235 lines

  1. @echo off
  2. set compiler=TPC
  3. set movedir=\a\proj\eco
  4. set archive=ECO30603.LZH
  5. inpath BPC.EXE /err >nul
  6. if errorlevel 1 set compiler=BPC
  7. echo.
  8. pause
  9. cls
  10. echo ┌───────────────────────────────────────────────────────────────────────┐
  11. echo │                                                                       │
  12. echo │ Congratulations with purchasing The ECO Library II Release 3.0 V6.02! │ │
  13. echo │                                                                       │ │
  14. echo │ You now have the full and complete edition of ECOLIB including src.   │ │
  15. echo │ We request that the licensing regulations will be adhered to.         │ │
  16. echo │                                                                       │ │
  17. echo │ You may redistribute the ShareWare version, containing OBJ files, but │ │
  18. echo │ no .ASM files. Redistribute in any archive format, but keep contents  │ │
  19. echo │ the same. These archives may not be redistributed. If you find ille-  │ │
  20. echo │ gal copies, please notify us.                                         │ │
  21. echo │                                                                       │ │
  22. echo │ The following procedure will install ECOLIB on your system in the     │ │
  23. echo │ directory /a/proj/eco and subdirectories...                           │ │
  24. echo │                                                                       │ │
  25. echo └───────────────────────────────────────────────────────────────────────┘ │
  26. echo    ───────────────────────────────────────────────────────────────────────┘
  27. echo.
  28. echo.
  29. echo Compiler found: %compiler%
  30. echo.
  31. pause
  32.  
  33. cls
  34. cd \a\proj\eco
  35. echo Copying %archive% to /a/proj/eco
  36. copy a:\%archive% >nul
  37. echo ─────
  38. echo Copying LHA.EXE to /a/proj/eco :: .LZH Compressor/Decompressor
  39. copy a:\LHA.EXE \a\proj\eco >nul
  40. echo Unpacking the sources . . .
  41. pause
  42.  
  43. lha x %archive% >nul
  44. del %archive% >nul
  45. echo.
  46. pause
  47.  
  48. cls
  49. echo.
  50. echo.
  51. echo.
  52. echo.
  53. echo.
  54. echo.
  55. echo ┌──[ Compiling with either BPC.EXE or TPC.EXE ]─────────────────────────┐
  56. echo │                                                                       │
  57. echo │ OK, all files are now installed on /a/proj/eco                        │ │
  58. echo │                                                                       │ │
  59. echo │ Compilation is rather easy, if TPC or BPC is in path I will do it     │ │
  60. echo │                                                                       │ │
  61. echo │ for you!   The .ASM files are preassembled, please wait ::            │ │
  62. echo │                                                                       │ │
  63. echo └───────────────────────────────────────────────────────────────────────┘ │
  64. echo    ───────────────────────────────────────────────────────────────────────┘
  65. echo.
  66. echo.
  67. echo.
  68.  
  69. cd ecolibcs >nul
  70. echo We are now in eco/ecolibCS
  71. echo.
  72. pause
  73. echo Building The Concise Edition
  74. %compiler% /$G+ /$X+ /U.. eco_lib
  75. echo Compile OK, copying .TPU to /a/proj/eco
  76. copy *.tpu %movedir% >nul
  77. del *.tpu >nul
  78. cd ..
  79.  
  80. cd ecolibbs
  81. echo.
  82. echo We are now in eco/ecoliBBS
  83. echo Building The BulletinBoard Edition
  84. %compiler% /$G+ /$X+ /U.. /m buildbbs
  85. echo Compile OK, copying *.TPU to /a/proj/eco
  86. echo.
  87. copy *.tpu %movedir% >nul
  88. del *.tpu >nul
  89. cd ..
  90.  
  91. cd ecolibii
  92. echo We are now in eco/ecolibII
  93. echo.
  94. echo.
  95. pause
  96. echo Building The Full Edition
  97. %compiler% /$G+ /$X+ /U.. /m build_ii
  98. echo Compile OK, copying *.TPU to /a/proj/eco
  99. echo.
  100. copy *.tpu %movedir% >nul
  101. del *.tpu >nul
  102.  
  103. cd eco_crt
  104. cd eco_adpt
  105. echo.
  106. echo.
  107. echo We are now in eco/ecolibII/eco_crt/eco_adpt
  108. echo Building The Adapter Unit
  109. echo.
  110. echo.
  111. pause
  112. %compiler% /$G+ /$X+ /U..\..\.. /m eco_adpt
  113. echo Compile OK, copying *.TPU to /a/proj/eco
  114. echo.
  115. copy *.tpu %movedir% >nul
  116. del *.tpu >nul
  117. cd ..
  118. echo.
  119. echo.
  120. echo We are now in eco/ecolibII/eco_crt
  121. echo Building The CRT Replacement
  122. %compiler% /$G+ /$X+ /U..\.. /m eco_crt
  123. echo Compile OK, copying *.TPU to /a/proj/eco
  124. echo.
  125. copy *.tpu %movedir% >nul
  126. del *.tpu >nul
  127.  
  128. cd ..\eco_dos
  129. echo.
  130. echo.
  131. echo We are now in eco/ecolibII/eco_dos
  132. pause
  133. echo Building The DOS Replacement
  134. %compiler% /$G+ /$X+ /U..\.. /m eco_dos
  135. echo Compile OK, copying *.TPU to /a/proj/eco
  136. echo.
  137. copy *.tpu %movedir% >nul
  138. del *.tpu >nul
  139. cd ..
  140.  
  141. echo Building Examples And Demos . . .
  142. cd demos
  143. echo.
  144. echo.
  145. echo Compiling General Demos . . .
  146. %compiler% /$G+ /$X+ /U..\.. /m demofile.pas
  147. %compiler% /$G+ /$X+ /U..\.. /m demoinfo.pas
  148. %compiler% /$G+ /$X+ /U..\.. /m demoswap.pas
  149. %compiler% /$G+ /$X+ /U..\.. /m demotree.pas
  150. %compiler% /$G+ /$X+ /U..\.. /m demo_atv.pas
  151. %compiler% /$G+ /$X+ /U..\.. /m demo_key.pas
  152. %compiler% /$G+ /$X+ /U..\.. /m demo_lzw.pas
  153. %compiler% /$G+ /$X+ /U..\.. /m demo_reg.pas
  154. %compiler% /$G+ /$X+ /U..\.. /m demo_fcs.pas
  155. %compiler% /$G+ /$X+ /U..\.. /m uask.pas
  156. %compiler% /$G+ /$X+ /U..\.. /m uaskwin.pas
  157. cd ..\..
  158.  
  159. cd ecolibbs\demos
  160. echo.
  161. echo.
  162. echo Compiling BBS Door Demo . . .
  163. %compiler% /$G+ /$X+ /U..\.. /m demoarcn.pas
  164. %compiler% /$G+ /$X+ /U..\.. /m demodoor.pas
  165. %compiler% /$G+ /$X+ /U..\.. /m demonode.pas
  166. %compiler% /$G+ /$X+ /U..\.. /m demonods.pas
  167. %compiler% /$G+ /$X+ /U..\.. /m demopvls.pas
  168. cd ..\..
  169.  
  170. cd ecolibcs\demos
  171. echo.
  172. echo.
  173. echo Compiling Concise Demos . . .
  174. %compiler% /$G+ /$X+ /U..\.. /m b2550.pas
  175. %compiler% /$G+ /$X+ /U..\.. /m colours.pas
  176. %compiler% /$G+ /$X+ /U..\.. /m demo_dat.pas
  177. %compiler% /$G+ /$X+ /U..\.. /m demo_fas.pas
  178. %compiler% /$G+ /$X+ /U..\.. /m demo_lib.pas
  179. %compiler% /$G+ /$X+ /U..\.. /m error.pas
  180. %compiler% /$G+ /$X+ /U..\.. /m inpath.pas
  181. %compiler% /$G+ /$X+ /U..\.. /m logdate.pas
  182. %compiler% /$G+ /$X+ /U..\.. /m pw.pas
  183. %compiler% /$G+ /$X+ /U..\.. /m s.pas
  184. %compiler% /$G+ /$X+ /U..\.. /m slice.pas
  185. %compiler% /$G+ /$X+ /U..\.. /m stdframe.pas
  186. %compiler% /$G+ /$X+ /U..\.. /m align.pas
  187. %compiler% /$G+ /$X+ /U..\.. /m insort.pas
  188. %compiler% /$G+ /$X+ /U..\.. /m deldup.pas
  189. %compiler% /$G+ /$X+ /U..\.. /m w.pas
  190. echo.
  191. echo.
  192. cd ugrep
  193. %compiler% /$G+ /$X+ /U..\..\.. /m qf.pas
  194. %compiler% /$G+ /$X+ /U..\..\.. /m gsr.pas
  195. %compiler% /$G+ /$X+ /U..\..\.. /m usr.pas
  196. cd ..\..\..
  197.  
  198. cd ecolibii\demos\novell
  199. echo.
  200. echo.
  201. echo Compiling Novell Demos . . .
  202. %compiler% /$G+ /$X+ /U..\..\.. /m checkfil.pas
  203. %compiler% /$G+ /$X+ /U..\..\.. /m env_up.pas
  204. %compiler% /$G+ /$X+ /U..\..\.. /m loginfo.pas
  205. %compiler% /$G+ /$X+ /U..\..\.. /m me.pas
  206. %compiler% /$G+ /$X+ /U..\..\.. /m message.pas
  207. %compiler% /$G+ /$X+ /U..\..\.. /m netmenu.pas
  208. %compiler% /$G+ /$X+ /U..\..\.. /m nm.pas
  209. %compiler% /$G+ /$X+ /U..\..\.. /m qlogin.pas
  210. %compiler% /$G+ /$X+ /U..\..\.. /m repvirus.pas
  211. %compiler% /$G+ /$X+ /U..\..\.. /m semi.pas
  212. %compiler% /$G+ /$X+ /U..\..\.. /m servlist.pas
  213. %compiler% /$G+ /$X+ /U..\..\.. /m stations.pas
  214. %compiler% /$G+ /$X+ /U..\..\.. /m upd_scan.pas
  215. %compiler% /$G+ /$X+ /U..\..\.. /m upf.pas
  216. %compiler% /$G+ /$X+ /U..\..\.. /m who.pas
  217. cd ..\..\..
  218.  
  219.  
  220. echo  
  221. echo OK. The complete edition is for source inspection and ideas.
  222. echo The CS edition contains all you might dream of, and is used
  223. echo in a very easy matter.
  224. echo Good luck, and try the DEMO*.PAS files for demos.
  225. echo Remove floppy from drive.
  226. echo All *.TPU's are now in /a/proj/eco
  227. echo                                                                  F\
  228. echo  
  229. SET WDIR=-w -u 1 -x -k -p
  230. REM SET WCOLOURS=DIR:8 VOL:8 INF:8 STD:9 TXT,DOC,INF,HLP:7 PAS,C,CPP,INC,H,ASM,ASH:14 ARC,ARJ,LZH,ZIP,ZOO:8 COM,EXE,BAT,CMD:15
  231. SET WTREEINFO=C
  232.  
  233. %movedir%\ecolibcs\demos\w
  234.  
  235.